﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;

using UnitTest.Web.Entities;

namespace UnitTest.Web.Pages
{
    public class ComplexTag : Page
    {
        protected override void OnInit(EventArgs e)
        {
            //base.OnInit(e);

            List<Person> list = new List<Person>(){
                new Person(){Name="A", Age=1},
                new Person(){Name="B", Age=2}
            };

            HttpContext.Current.Items.Add("personList", list);
        }
    }
}
